<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>html代码</title>
    </head>

    <body>
        <h1>内容</h1>
<hr/>
        <input type="checkbox"/>羽毛球
        <input type="checkbox"/>乒乓球
        <input type="checkbox"/>足球
        <select>
            <option>面包</option>
            <option>牛奶</option>
            <option>米饭</option>
        </select>
 <hr/>

    <input type="button" onclick="myalert()" value="单击">
        <script>
            function myalert() {
                window.alert('hello apple!');
            }
        </script>
    </body>
</html>
